DX11 SET SPRITE LAYER PRIORITY

Sets the priority value of the given sprite layer.
The priority determines the draw order of sprite layers; a higher value means the layer will be drawn before any layers with lower priorities. Being drawn first
means that other sprites that are drawn later and overlap the previously drawn sprite will be drawn on top of it.

  Syntax
DX11 SET SPRITE LAYER PRIORITY layer, priority
  Parameters
layer
Dword
The sprite layer to set the priority of.
priority
Word
The priority value to set for the given layer.

  Returns

This function does not return a value.

  See also

SPRITELAYER Functions Menu
DX11 Function Categories